package com.nbst.model.erp;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName: POOrderEntry
 * @Description:ERP采购订单表体
 * @author King
 * @date 2018年11月17日
 *
 */
public class POOrderEntry extends OrderBy {
	/**分录内码*/
	private Integer fDetailID;

	/**公司机构类码*/
	private String fBrNo;

	/**采购订单内码*/
	private Integer fInterID;

	/**分录号*/
	private Integer fEntryID;

	/**物料内码*/
	private Integer fItemID;

	/**基本单位数量*/
	private Double fQty;

	/**到货数量*/
	private Double fCommitQty;

	/**交货日期*/
	private Date fDate;

	/**单价*/
	private Double fPrice;

	/**金额*/
	private Double fAmount;

	/**折扣率(%)*/
	private Double fTaxRate;

	/**税金（本位币）*/
	private Double fTax;

	/**税额*/
	private Double fTaxAmount;

	/**备注*/
	private String fNote;

	/**单位*/
	private Integer fUnitID;

	/**辅助到货数量*/
	private Double fAuxCommitQty;

	/**单价*/
	private Double fAuxPrice;

	/**数量*/
	private Double fAuxQty;

	/**源单分录*/
	private Integer fSourceEntryID;

	/**税率(%)*/
	private Double fCess;

	/**入库数量*/
	private Double fStockQty;

	/**辅助入库数量*/
	private Double fAuxStockQty;

	/**对应代码*/
	private String fMapNumber;

	/**对应名称*/
	private String fMapName;

	/**价税合计*/
	private Double fAllAmount;

	/**辅助属性*/
	private Integer fAuxPropID;

	/**实际含税单价*/
	private Double fAuxPriceDiscount;

	/**实际含税单价（本位币）*/
	private Double fPriceDiscount;

	/**基本单位开票数量*/
	private Double fQtyInvoice;

	/**基本计量单位开票数量*/
	private Double fQtyInvoiceBase;

	/**含税单价*/
	private Double fAuxTaxPrice;

	/**含税单价（本位币）*/
	private Double fTaxPrice;

	/**付款关联金额（本位币）*/
	private Double fReceiveAmountFor_Commit;

	/**付款关联金额*/
	private Double fReceiveAmount_Commit;

	/**换算率*/
	private Double fSecCoefficient;

	/**辅助数量*/
	private Double fSecQty;

	/**辅助执行数量*/
	private Double fSecCommitQty;

	/**源单类型*/
	private Integer fSourceTranType;

	/**源单内码*/
	private Integer fSourceInterId;

	/**源单单号*/
	private String fSourceBillNo;

	/**合同内码*/
	private Integer fContractInterID;

	/**合同分录*/
	private Integer fContractEntryID;

	/**合同单号*/
	private String fContractBillNo;

	/**MRP计算标记*/
	private Integer fMRPLockFlag;

	/**开票数量*/
	private Double fAuxQtyInvoice;

	/**行业务关闭标志*/
	private Integer fMrpClosed;

	/**对应代码*/
	private Integer fMapID;

	/**源产地*/
	private Integer fSProducingAreaID;

	/**折扣额*/
	private Double fAmtDiscount;

	/**累计核销金额(本位币)*/
	private Double fCheckAmount;

	/**MRP自动关闭标志*/
	private Integer fMrpAutoClosed;

	/**单 位*/
	private String fEntrySelfP0241;

	/**付款申请关联金额*/
	private Double fPayApplyAmountFor_Commit;

	/**付款申请关联金额（本位币）*/
	private Double fPayApplyAmount_Commit;

	/**辅助单位入库数量*/
	private Double fSecStockQty;

	/**辅助单位开票数量*/
	private Double fSecInvoiceQty;

	/**计划模式*/
	private Integer fPlanMode;

	/**计划跟踪号*/
	private String fMTONo;

	/**折扣额*/
	private Double fDescount;

	/***/
	private String fSupConfirm;

	/***/
	private Date fSupConDate;

	/***/
	private Double fSupConQty;

	/***/
	private String fSupConMem;

	/***/
	private Date fSupConFetchDate;

	/***/
	private Integer fSupConfirmor;

	/***/
	private Integer fQualityRptBillID;

	/***/
	private Integer fLockByAlter;

	/***/
	private Double fDeliveryQty;

	/***/
	private Double fAuxDeliveryQty;

	/***/
	private Double fSecDeliveryQty;

	/**默认仓库*/
	private String fEntrySelfP0255;

	/**申请单备注*/
	private String fEntrySelfP0256;

	/**未入库数量*/
	private Double fEntrySelfP0258;
	
	/**每次采购到货的质检状态*/
	private Integer fQcStatus;//fEntrySelfP0259;

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public String getfBrNo() {
		return fBrNo;
	}

	public void setfBrNo(String fBrNo) {
		this.fBrNo = fBrNo;
	}

	public Integer getfInterID() {
		return fInterID;
	}

	public void setfInterID(Integer fInterID) {
		this.fInterID = fInterID;
	}

	public Integer getfEntryID() {
		return fEntryID;
	}

	public void setfEntryID(Integer fEntryID) {
		this.fEntryID = fEntryID;
	}

	public Integer getfItemID() {
		return fItemID;
	}

	public void setfItemID(Integer fItemID) {
		this.fItemID = fItemID;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Double getfCommitQty() {
		return fCommitQty;
	}

	public void setfCommitQty(Double fCommitQty) {
		this.fCommitQty = fCommitQty;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Double getfPrice() {
		return fPrice;
	}

	public void setfPrice(Double fPrice) {
		this.fPrice = fPrice;
	}

	public Double getfAmount() {
		return fAmount;
	}

	public void setfAmount(Double fAmount) {
		this.fAmount = fAmount;
	}

	public Double getfTaxRate() {
		return fTaxRate;
	}

	public void setfTaxRate(Double fTaxRate) {
		this.fTaxRate = fTaxRate;
	}

	public Double getfTax() {
		return fTax;
	}

	public void setfTax(Double fTax) {
		this.fTax = fTax;
	}

	public Double getfTaxAmount() {
		return fTaxAmount;
	}

	public void setfTaxAmount(Double fTaxAmount) {
		this.fTaxAmount = fTaxAmount;
	}

	public String getfNote() {
		return fNote;
	}

	public void setfNote(String fNote) {
		this.fNote = fNote;
	}

	public Integer getfUnitID() {
		return fUnitID;
	}

	public void setfUnitID(Integer fUnitID) {
		this.fUnitID = fUnitID;
	}

	public Double getfAuxCommitQty() {
		return fAuxCommitQty;
	}

	public void setfAuxCommitQty(Double fAuxCommitQty) {
		this.fAuxCommitQty = fAuxCommitQty;
	}

	public Double getfAuxPrice() {
		return fAuxPrice;
	}

	public void setfAuxPrice(Double fAuxPrice) {
		this.fAuxPrice = fAuxPrice;
	}

	public Double getfAuxQty() {
		return fAuxQty;
	}

	public void setfAuxQty(Double fAuxQty) {
		this.fAuxQty = fAuxQty;
	}

	public Integer getfSourceEntryID() {
		return fSourceEntryID;
	}

	public void setfSourceEntryID(Integer fSourceEntryID) {
		this.fSourceEntryID = fSourceEntryID;
	}

	public Double getfCess() {
		return fCess;
	}

	public void setfCess(Double fCess) {
		this.fCess = fCess;
	}

	public Double getfStockQty() {
		return fStockQty;
	}

	public void setfStockQty(Double fStockQty) {
		this.fStockQty = fStockQty;
	}

	public Double getfAuxStockQty() {
		return fAuxStockQty;
	}

	public void setfAuxStockQty(Double fAuxStockQty) {
		this.fAuxStockQty = fAuxStockQty;
	}

	public String getfMapNumber() {
		return fMapNumber;
	}

	public void setfMapNumber(String fMapNumber) {
		this.fMapNumber = fMapNumber;
	}

	public String getfMapName() {
		return fMapName;
	}

	public void setfMapName(String fMapName) {
		this.fMapName = fMapName;
	}

	public Double getfAllAmount() {
		return fAllAmount;
	}

	public void setfAllAmount(Double fAllAmount) {
		this.fAllAmount = fAllAmount;
	}

	public Integer getfAuxPropID() {
		return fAuxPropID;
	}

	public void setfAuxPropID(Integer fAuxPropID) {
		this.fAuxPropID = fAuxPropID;
	}

	public Double getfAuxPriceDiscount() {
		return fAuxPriceDiscount;
	}

	public void setfAuxPriceDiscount(Double fAuxPriceDiscount) {
		this.fAuxPriceDiscount = fAuxPriceDiscount;
	}

	public Double getfPriceDiscount() {
		return fPriceDiscount;
	}

	public void setfPriceDiscount(Double fPriceDiscount) {
		this.fPriceDiscount = fPriceDiscount;
	}

	public Double getfQtyInvoice() {
		return fQtyInvoice;
	}

	public void setfQtyInvoice(Double fQtyInvoice) {
		this.fQtyInvoice = fQtyInvoice;
	}

	public Double getfQtyInvoiceBase() {
		return fQtyInvoiceBase;
	}

	public void setfQtyInvoiceBase(Double fQtyInvoiceBase) {
		this.fQtyInvoiceBase = fQtyInvoiceBase;
	}

	public Double getfAuxTaxPrice() {
		return fAuxTaxPrice;
	}

	public void setfAuxTaxPrice(Double fAuxTaxPrice) {
		this.fAuxTaxPrice = fAuxTaxPrice;
	}

	public Double getfTaxPrice() {
		return fTaxPrice;
	}

	public void setfTaxPrice(Double fTaxPrice) {
		this.fTaxPrice = fTaxPrice;
	}

	public Double getfReceiveAmountFor_Commit() {
		return fReceiveAmountFor_Commit;
	}

	public void setfReceiveAmountFor_Commit(Double fReceiveAmountFor_Commit) {
		this.fReceiveAmountFor_Commit = fReceiveAmountFor_Commit;
	}

	public Double getfReceiveAmount_Commit() {
		return fReceiveAmount_Commit;
	}

	public void setfReceiveAmount_Commit(Double fReceiveAmount_Commit) {
		this.fReceiveAmount_Commit = fReceiveAmount_Commit;
	}

	public Double getfSecCoefficient() {
		return fSecCoefficient;
	}

	public void setfSecCoefficient(Double fSecCoefficient) {
		this.fSecCoefficient = fSecCoefficient;
	}

	public Double getfSecQty() {
		return fSecQty;
	}

	public void setfSecQty(Double fSecQty) {
		this.fSecQty = fSecQty;
	}

	public Double getfSecCommitQty() {
		return fSecCommitQty;
	}

	public void setfSecCommitQty(Double fSecCommitQty) {
		this.fSecCommitQty = fSecCommitQty;
	}

	public Integer getfSourceTranType() {
		return fSourceTranType;
	}

	public void setfSourceTranType(Integer fSourceTranType) {
		this.fSourceTranType = fSourceTranType;
	}

	public Integer getfSourceInterId() {
		return fSourceInterId;
	}

	public void setfSourceInterId(Integer fSourceInterId) {
		this.fSourceInterId = fSourceInterId;
	}

	public String getfSourceBillNo() {
		return fSourceBillNo;
	}

	public void setfSourceBillNo(String fSourceBillNo) {
		this.fSourceBillNo = fSourceBillNo;
	}

	public Integer getfContractInterID() {
		return fContractInterID;
	}

	public void setfContractInterID(Integer fContractInterID) {
		this.fContractInterID = fContractInterID;
	}

	public Integer getfContractEntryID() {
		return fContractEntryID;
	}

	public void setfContractEntryID(Integer fContractEntryID) {
		this.fContractEntryID = fContractEntryID;
	}

	public String getfContractBillNo() {
		return fContractBillNo;
	}

	public void setfContractBillNo(String fContractBillNo) {
		this.fContractBillNo = fContractBillNo;
	}

	public Integer getfMRPLockFlag() {
		return fMRPLockFlag;
	}

	public void setfMRPLockFlag(Integer fMRPLockFlag) {
		this.fMRPLockFlag = fMRPLockFlag;
	}

	public Double getfAuxQtyInvoice() {
		return fAuxQtyInvoice;
	}

	public void setfAuxQtyInvoice(Double fAuxQtyInvoice) {
		this.fAuxQtyInvoice = fAuxQtyInvoice;
	}

	public Integer getfMrpClosed() {
		return fMrpClosed;
	}

	public void setfMrpClosed(Integer fMrpClosed) {
		this.fMrpClosed = fMrpClosed;
	}

	public Integer getfMapID() {
		return fMapID;
	}

	public void setfMapID(Integer fMapID) {
		this.fMapID = fMapID;
	}

	public Integer getfSProducingAreaID() {
		return fSProducingAreaID;
	}

	public void setfSProducingAreaID(Integer fSProducingAreaID) {
		this.fSProducingAreaID = fSProducingAreaID;
	}

	public Double getfAmtDiscount() {
		return fAmtDiscount;
	}

	public void setfAmtDiscount(Double fAmtDiscount) {
		this.fAmtDiscount = fAmtDiscount;
	}

	public Double getfCheckAmount() {
		return fCheckAmount;
	}

	public void setfCheckAmount(Double fCheckAmount) {
		this.fCheckAmount = fCheckAmount;
	}

	public Integer getfMrpAutoClosed() {
		return fMrpAutoClosed;
	}

	public void setfMrpAutoClosed(Integer fMrpAutoClosed) {
		this.fMrpAutoClosed = fMrpAutoClosed;
	}

	public String getfEntrySelfP0241() {
		return fEntrySelfP0241;
	}

	public void setfEntrySelfP0241(String fEntrySelfP0241) {
		this.fEntrySelfP0241 = fEntrySelfP0241;
	}

	public Double getfPayApplyAmountFor_Commit() {
		return fPayApplyAmountFor_Commit;
	}

	public void setfPayApplyAmountFor_Commit(Double fPayApplyAmountFor_Commit) {
		this.fPayApplyAmountFor_Commit = fPayApplyAmountFor_Commit;
	}

	public Double getfPayApplyAmount_Commit() {
		return fPayApplyAmount_Commit;
	}

	public void setfPayApplyAmount_Commit(Double fPayApplyAmount_Commit) {
		this.fPayApplyAmount_Commit = fPayApplyAmount_Commit;
	}

	public Double getfSecStockQty() {
		return fSecStockQty;
	}

	public void setfSecStockQty(Double fSecStockQty) {
		this.fSecStockQty = fSecStockQty;
	}

	public Double getfSecInvoiceQty() {
		return fSecInvoiceQty;
	}

	public void setfSecInvoiceQty(Double fSecInvoiceQty) {
		this.fSecInvoiceQty = fSecInvoiceQty;
	}

	public Integer getfPlanMode() {
		return fPlanMode;
	}

	public void setfPlanMode(Integer fPlanMode) {
		this.fPlanMode = fPlanMode;
	}

	public String getfMTONo() {
		return fMTONo;
	}

	public void setfMTONo(String fMTONo) {
		this.fMTONo = fMTONo;
	}

	public Double getfDescount() {
		return fDescount;
	}

	public void setfDescount(Double fDescount) {
		this.fDescount = fDescount;
	}

	public String getfSupConfirm() {
		return fSupConfirm;
	}

	public void setfSupConfirm(String fSupConfirm) {
		this.fSupConfirm = fSupConfirm;
	}

	public Date getfSupConDate() {
		return fSupConDate;
	}

	public void setfSupConDate(Date fSupConDate) {
		this.fSupConDate = fSupConDate;
	}

	public Double getfSupConQty() {
		return fSupConQty;
	}

	public void setfSupConQty(Double fSupConQty) {
		this.fSupConQty = fSupConQty;
	}

	public String getfSupConMem() {
		return fSupConMem;
	}

	public void setfSupConMem(String fSupConMem) {
		this.fSupConMem = fSupConMem;
	}

	public Date getfSupConFetchDate() {
		return fSupConFetchDate;
	}

	public void setfSupConFetchDate(Date fSupConFetchDate) {
		this.fSupConFetchDate = fSupConFetchDate;
	}

	public Integer getfSupConfirmor() {
		return fSupConfirmor;
	}

	public void setfSupConfirmor(Integer fSupConfirmor) {
		this.fSupConfirmor = fSupConfirmor;
	}

	public Integer getfQualityRptBillID() {
		return fQualityRptBillID;
	}

	public void setfQualityRptBillID(Integer fQualityRptBillID) {
		this.fQualityRptBillID = fQualityRptBillID;
	}

	public Integer getfLockByAlter() {
		return fLockByAlter;
	}

	public void setfLockByAlter(Integer fLockByAlter) {
		this.fLockByAlter = fLockByAlter;
	}

	public Double getfDeliveryQty() {
		return fDeliveryQty;
	}

	public void setfDeliveryQty(Double fDeliveryQty) {
		this.fDeliveryQty = fDeliveryQty;
	}

	public Double getfAuxDeliveryQty() {
		return fAuxDeliveryQty;
	}

	public void setfAuxDeliveryQty(Double fAuxDeliveryQty) {
		this.fAuxDeliveryQty = fAuxDeliveryQty;
	}

	public Double getfSecDeliveryQty() {
		return fSecDeliveryQty;
	}

	public void setfSecDeliveryQty(Double fSecDeliveryQty) {
		this.fSecDeliveryQty = fSecDeliveryQty;
	}

	public String getfEntrySelfP0255() {
		return fEntrySelfP0255;
	}

	public void setfEntrySelfP0255(String fEntrySelfP0255) {
		this.fEntrySelfP0255 = fEntrySelfP0255;
	}

	public String getfEntrySelfP0256() {
		return fEntrySelfP0256;
	}

	public void setfEntrySelfP0256(String fEntrySelfP0256) {
		this.fEntrySelfP0256 = fEntrySelfP0256;
	}

	public Double getfEntrySelfP0258() {
		return fEntrySelfP0258;
	}

	public void setfEntrySelfP0258(Double fEntrySelfP0258) {
		this.fEntrySelfP0258 = fEntrySelfP0258;
	}

	public Integer getfQcStatus() {
		return fQcStatus;
	}

	public void setfQcStatus(Integer fQcStatus) {
		this.fQcStatus = fQcStatus;
	}

	@Override
	public String toString() {
		return "POOrderEntry [fDetailID=" + fDetailID + ", fBrNo=" + fBrNo + ", fInterID=" + fInterID + ", fEntryID="
				+ fEntryID + ", fItemID=" + fItemID + ", fQty=" + fQty + ", fCommitQty=" + fCommitQty + ", fDate="
				+ fDate + ", fPrice=" + fPrice + ", fAmount=" + fAmount + ", fTaxRate=" + fTaxRate + ", fTax=" + fTax
				+ ", fTaxAmount=" + fTaxAmount + ", fNote=" + fNote + ", fUnitID=" + fUnitID + ", fAuxCommitQty="
				+ fAuxCommitQty + ", fAuxPrice=" + fAuxPrice + ", fAuxQty=" + fAuxQty + ", fSourceEntryID="
				+ fSourceEntryID + ", fCess=" + fCess + ", fStockQty=" + fStockQty + ", fAuxStockQty=" + fAuxStockQty
				+ ", fMapNumber=" + fMapNumber + ", fMapName=" + fMapName + ", fAllAmount=" + fAllAmount
				+ ", fAuxPropID=" + fAuxPropID + ", fAuxPriceDiscount=" + fAuxPriceDiscount + ", fPriceDiscount="
				+ fPriceDiscount + ", fQtyInvoice=" + fQtyInvoice + ", fQtyInvoiceBase=" + fQtyInvoiceBase
				+ ", fAuxTaxPrice=" + fAuxTaxPrice + ", fTaxPrice=" + fTaxPrice + ", fReceiveAmountFor_Commit="
				+ fReceiveAmountFor_Commit + ", fReceiveAmount_Commit=" + fReceiveAmount_Commit + ", fSecCoefficient="
				+ fSecCoefficient + ", fSecQty=" + fSecQty + ", fSecCommitQty=" + fSecCommitQty + ", fSourceTranType="
				+ fSourceTranType + ", fSourceInterId=" + fSourceInterId + ", fSourceBillNo=" + fSourceBillNo
				+ ", fContractInterID=" + fContractInterID + ", fContractEntryID=" + fContractEntryID
				+ ", fContractBillNo=" + fContractBillNo + ", fMRPLockFlag=" + fMRPLockFlag + ", fAuxQtyInvoice="
				+ fAuxQtyInvoice + ", fMrpClosed=" + fMrpClosed + ", fMapID=" + fMapID + ", fSProducingAreaID="
				+ fSProducingAreaID + ", fAmtDiscount=" + fAmtDiscount + ", fCheckAmount=" + fCheckAmount
				+ ", fMrpAutoClosed=" + fMrpAutoClosed + ", fEntrySelfP0241=" + fEntrySelfP0241
				+ ", fPayApplyAmountFor_Commit=" + fPayApplyAmountFor_Commit + ", fPayApplyAmount_Commit="
				+ fPayApplyAmount_Commit + ", fSecStockQty=" + fSecStockQty + ", fSecInvoiceQty=" + fSecInvoiceQty
				+ ", fPlanMode=" + fPlanMode + ", fMTONo=" + fMTONo + ", fDescount=" + fDescount + ", fSupConfirm="
				+ fSupConfirm + ", fSupConDate=" + fSupConDate + ", fSupConQty=" + fSupConQty + ", fSupConMem="
				+ fSupConMem + ", fSupConFetchDate=" + fSupConFetchDate + ", fSupConfirmor=" + fSupConfirmor
				+ ", fQualityRptBillID=" + fQualityRptBillID + ", fLockByAlter=" + fLockByAlter + ", fDeliveryQty="
				+ fDeliveryQty + ", fAuxDeliveryQty=" + fAuxDeliveryQty + ", fSecDeliveryQty=" + fSecDeliveryQty
				+ ", fEntrySelfP0255=" + fEntrySelfP0255 + ", fEntrySelfP0256=" + fEntrySelfP0256 + ", fEntrySelfP0258="
				+ fEntrySelfP0258 + ", fQcStatus=" + fQcStatus + "]";
	}

}